import { ADD, SUB, USER_INFO } from '../actionTypes'

const addAction = {
  type: ADD,
  payload: {
    num: 1
  }
}

const subAction = {
  type: SUB,
  payload: {
    num: 1
  }
}

const userInfoAction = (wdata)=> {
  return {
    type: USER_INFO,
    payload: {
      wdata
    }
  }
}

export { addAction, subAction, userInfoAction }